Integrand size = 22, antiderivative size = 152 \[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=-\frac {\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (-\frac {1}{n},\frac {3}{2},\frac {3}{2},-\frac {1-n}{n},-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{a x \sqrt {a+b x^n+c x^{2 n}}} \]
[Out]
Time = 0.10 (sec) , antiderivative size = 152, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1399, 524} \[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=-\frac {\sqrt {\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^n}{\sqrt {b^2-4 a c}+b}+1} \operatorname {AppellF1}\left (-\frac {1}{n},\frac {3}{2},\frac {3}{2},-\frac {1-n}{n},-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{a x \sqrt {a+b x^n+c x^{2 n}}} \]
[In]
[Out]
Rule 524
Rule 1399
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}}\right ) \int \frac {1}{x^2 \left (1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}\right )^{3/2} \left (1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )^{3/2}} \, dx}{a \sqrt {a+b x^n+c x^{2 n}}} \\ & = -\frac {\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}} F_1\left (-\frac {1}{n};\frac {3}{2},\frac {3}{2};-\frac {1-n}{n};-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{a x \sqrt {a+b x^n+c x^{2 n}}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(395\) vs. \(2(152)=304\).
Time = 0.60 (sec) , antiderivative size = 395, normalized size of antiderivative = 2.60 \[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\frac {(-1+n) \left (-4 a c (1+n)+b^2 (2+n)\right ) \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (-\frac {1}{n},\frac {1}{2},\frac {1}{2},\frac {-1+n}{n},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )-2 \left ((-1+n) \left (b^2-2 a c+b c x^n\right )+b c x^n \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (\frac {-1+n}{n},\frac {1}{2},\frac {1}{2},2-\frac {1}{n},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )\right )}{a \left (-b^2+4 a c\right ) (-1+n) n x \sqrt {a+x^n \left (b+c x^n\right )}} \]
[In]
[Out]
\[\int \frac {1}{x^{2} \left (a +b \,x^{n}+c \,x^{2 n}\right )^{\frac {3}{2}}}d x\]
[In]
[Out]
Exception generated. \[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int \frac {1}{x^{2} \left (a + b x^{n} + c x^{2 n}\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int { \frac {1}{{\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac {3}{2}} x^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int { \frac {1}{{\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac {3}{2}} x^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx=\int \frac {1}{x^2\,{\left (a+b\,x^n+c\,x^{2\,n}\right )}^{3/2}} \,d x \]
[In]
[Out]